<?php $data = APP::$V['login']; ?>
<!DOCTYPE html>
<html lang="en"> 
	<head>
		<title>Login</title>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="view/css/bootstrap.css">

		<script src="http://localhost/JS/jQuery/jquery-1.7.min.js" type="text/javascript"></script>

	</head>
	
	<body>
		<div class="container">
			<div class="row">
				<div class="offset4 span4" style="text-align:center; margin-top:100px;">
					<h3>Login</h3>
				</div>
			</div>
			<div class="row">
				<div class="offset4 span4" style="margin-top:10px;">
					<form action="" method="post">
						<input type="text" name="username" class="span4" placeholder="Username">
						<input type="password" name="password" class="span4" placeholder="Password">
						<?php if ($data['alert']) : ?>
						<div class="alert alert-error">
							<?php echo $data['alert']; ?>
						</div>
						<?php endif; ?>
						<input class="btn btn-primary pull-right" type="submit" value="Submit">
					</form>
				</div>
			</div>
		</div>
	</body>
</html>